Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add GCP compatible logging format to Block Streamer #655

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

morgsmccauley
Copy link
Collaborator

@morgsmccauley morgsmccauley commented Apr 10, 2024

This PR adds tracing-stackdriver, which outputs logs in a GCP compatible JSON format. To enable this, the GCP_LOGGING_ENABLED environment variable must be set.

Further, I've added additional context to errors to aid debugging.

https://github.com/near/near-ops/pull/1695

@morgsmccauley morgsmccauley requested a review from a team as a code owner April 10, 2024 04:53
@morgsmccauley morgsmccauley linked an issue Apr 10, 2024 that may be closed by this pull request
Copy link
Collaborator

@darunrs darunrs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool! Looking forward to seeing our logging improve.

@morgsmccauley morgsmccauley merged commit 0cee6fa into main Apr 10, 2024
4 checks passed
@morgsmccauley morgsmccauley deleted the feat/gcp-compatible-logging branch April 10, 2024 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate BlockStreamer termination (Notifications indexer)
2 participants